package com.lkd.service;

import com.lkd.dto.LoginDto;
import com.lkd.dto.UserDto;
import com.lkd.entity.User;
import com.lkd.result.PageBean;
import com.lkd.vo.UserVo;

public interface UserService {
    //用户登录
    User login(LoginDto dto);

    //保存
    Boolean save(User user);

    //分页查询
    PageBean<UserVo> findByPage(UserDto userDto);

    //修改
    Boolean update(User user);

    //主键删除
    Boolean deleteById(Integer id);
}
